﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Forum.Models
{
   public class ForumDb : DbContext
    {
       public ForumDb()
           : base("DefaultConnection")
       { 

       }
      public DbSet<UserProfile> UserProfiles { get; set; }
      public DbSet<ForumPostVote> ForumPostVotes { get; set; }
      public DbSet<ForumPost> ForumPosts { get; set; }
      public DbSet<ForumPostAnswer> ForumPostAnswers { get; set; }

    }
}
